const Koa = require('koa')
const app = new Koa()

app.use((ctx,next)=>{
    console.log(1)
    ctx.body = '222'
    next()
})
app.use(ctx=>{
    console.log(2)
    ctx.body = '12123'
})
app.listen(5050)